package com.sxpi.convert;

import com.sxpi.model.entity.Bookings;
import com.sxpi.model.entity.StoreItem;
import com.sxpi.model.vo.BookingsVo;
import com.sxpi.model.vo.StoreItemVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface BookingsConvert {
    BookingsConvert INSTANCE = Mappers.getMapper(BookingsConvert.class);
    List<BookingsVo> convertVoToEntityList(List<Bookings> bookings);
    BookingsVo convertVoToEntity(Bookings bookings);
    List<BookingsVo> convertEntityToVo(List<Bookings> bookings);



}
